package com.itlong.cloud.property.service;

import com.itlong.cloud.POJO.DTO.property.PropertyArrearPeopleManageDTO;
import com.itlong.cloud.POJO.VO.property.PropertyArrearPeopleManageVO;
import com.itlong.cloud.utils.page.Page;

import java.util.List;

/**
 * <desc>
 *      欠费人员管理服务层接口
 * </desc>
 *
 * @createDate 2019/05/22
 */
public interface IPropertyArrearPeopleManageService {

    /**
     * <desc>
     *      分页获取欠费人员管理信息
     * </desc>
     *
     * @param propertyArrearPeopleManageDTO 欠费人员管理DTO
     * @return 欠费人员管理分页信息
     * @author wangzhi
     * @createDate 2019/05/22
     */
    Page<PropertyArrearPeopleManageVO> getPage(PropertyArrearPeopleManageDTO propertyArrearPeopleManageDTO) throws Exception;

    /**
     * <desc>
     *      欠费人员管理添加地址
     * </desc>
     *
     * @param propertyArrearPeopleManageDTO 欠费人员管理DTO
     * @return 受影响行数
     * @author wangzhi
     * @createDate 2019/05/22
     */
    Integer save(PropertyArrearPeopleManageDTO propertyArrearPeopleManageDTO) throws Exception;

    /**
     * <desc>
     *      获取导出的欠费人员管理信息
     * </desc>
     *
     * @param propertyArrearPeopleManageDTO 欠费人员管理DTO
     * @return 欠费人员管理列表信息
     * @author wangzhi
     * @createDate 2019/05/22
     */
    List<PropertyArrearPeopleManageVO> getExportData(PropertyArrearPeopleManageDTO propertyArrearPeopleManageDTO) throws Exception;

    /**
     * <desc>
     *      获取项目绑定的分润规则类型
     * </desc>
     *
     * @param projectId 项目id
     * @return 项目绑定的分润规则类型
     * @author wangzhi
     * @createDate 2019/06/12
     */
    String getProjectProfitType(String projectId) throws Exception;
}
